

// ignore_for_file: prefer_function_declarations_over_variables, prefer_const_constructors

import 'package:flutter/material.dart';

class AppTheme {

  
  static const double bodyFontSize = 14;
  static const double smallFontSize = 16;
  static const double normalFontSize = 20;
  static const double largeFontSize = 24;

  static final Color norThemeColors = Colors.red;


  static final norTheme = (context) {
    return ThemeData(
      colorScheme: Theme.of(context).colorScheme.copyWith(
        secondary: Colors.orange,
        primary: Colors.pink
      ),
      canvasColor: Color.fromRGBO(255, 254, 222, 1),
      textTheme: TextTheme(
        bodyText1:  TextStyle(
          fontSize: bodyFontSize
        ),
        headline1: TextStyle(
          fontSize: smallFontSize
        ),
        headline2: TextStyle(
          fontSize: normalFontSize
        ),
        headline3: TextStyle(
          fontSize: largeFontSize,
          color: Colors.black
        ),
      ),
    );
  };

  static final Color darkThemeColors = Colors.green;

  static final darkTheme = (context) {
    return ThemeData(
      colorScheme: Theme.of(context).colorScheme.copyWith(
        secondary: Colors.green,
        primary: Colors.black45
      ),
        textTheme: TextTheme(
        bodyText1: TextStyle(
          color: darkThemeColors,
          fontSize: normalFontSize
        ),
      ),
    );
  };

}